import Vue from 'vue'
import App from './App.vue'
import router from './router'
// 导入element-ui
import './plugins/element.js'
// 导入全局样式
import './assets/css/global.css'
// 导入外部http请求文件，并挂载到Vue原型
import http from './assets/js/http.js'
Vue.prototype.$http = http
// 导入外部过滤器文件
import filter from './assets/js/filter.js'
Vue.filter('dateFormat',filter.dateFormat)
// 导入第三方组件富文本编辑框
import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css' // import styles
import 'quill/dist/quill.snow.css' // for snow theme
import 'quill/dist/quill.bubble.css' // for bubble theme
Vue.use(VueQuillEditor, /* { default global options } */)


Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
